Method and system for organizing electronic messages using eye-gaze technology

ABSTRACT

A method for organizing messages received and transmitted between at least two computer systems over a network and a system configured to implement the method are described. In one aspect, the method includes tracking where a user is gazing as the user is composing an outgoing message on a first computer system. During a composition time period in which the user is composing the outgoing message, a relevance rating for each of a plurality of gaze areas is determined. Each gaze area is associated with one of a plurality of messages displayed by the first computer system, and the relevance rating of a gaze area is based on a number of times the user&#39;s gaze dwells on the displayed message associated with the gaze area after the user&#39;s gaze is directed away from the displayed message. The method further includes identifying at least one displayed message that is related to the outgoing message based on the relevance ratings of each gaze area, and associating an identifier for each related message with the outgoing message.

TECHNICAL FIELD

The present invention relates to computer systems and more particularlyto a method and system for organizing electronic messages received andtransmitted between at least two computer systems over a network.

BACKGROUND

Electronic messaging systems that allow individuals to communicate withone another over a network using stationary or mobile electronic devicesare ubiquitous. Arguably, the most commonly used electronic messagingtechnique is a messaging technique known as electronic mail or email.Most, if not all, electronic devices include an email client that allowsthe device to receive and send email messages to other email clients onother electronic devices. Generally, an email message sent from onedevice is received by an email server in the network and stored in a“mailbox” for the receiving party. The receiving party must retrieve theemail message from the mailbox.

Another type of electronic messaging technique that has recently gainedwide spread use is commonly known as instant messaging (IM). An IMclient in the electronic device allows the device to send and receiveelectronic messages near instantaneously via an IM service provider inthe network. The IM service provider routes messages directly from thesender to the recipient, so long as the recipient is able to receive themessage, i.e., the recipient is online. Such IM service providersinclude AOL, MSN, Yahoo, and other similar service providers. Hence,with IM, users can exchange messages in close to real-time, and suchcommunications more closely resemble a typical conversation.

Typically, the IM client organizes and displays each message in thechronological order in which it was received or sent. For example, if afirst user is chatting with a second user, a message sent by the firstuser is displayed in a message window and when the second user replies,the response is displayed beneath the message sent by the first user.The first user's reply to the second user's response, when sent, isdisplayed beneath the second user's response. Hence, the presumption isthat each successive message is in response to the preceding message.Chronological organization is not a problem so long as each user iswilling to wait politely for the other user to compose and send his orher response before doing the same.

That, however, is not usually the case. More typically, during a chatsession, the communication between users is a rapid-fire exchange ofshort messages, e.g., much like a conversation. Users typically do notwait politely for a reply to their messages before sending anothermessage. The next message might be an extension of thoughts in theprevious message or completely unrelated. Hence, while one user iscomposing a reply to a first message, several additional messages can bereceived and displayed in the message window. When the user sends thereply, the reply is displayed beneath the last message received, whichis not necessarily the message to which the reply is related. Thus, whenthe user reviews the messages displayed in the message window, confusioncan arise as to which message the reply is related.

For example, consider FIG. 1A, which is an exemplary user interfaceprovided by an IM client in an electronic device. The conversationwindow 100 a indicates that Dave is chatting with Richard. The messagewindow 110 displays previously transmitted and received messages 112that reflect an ongoing communication between Dave and Richard in whichDave has sent a message (M1) to Richard asking Richard how to program aVCR. Richard's response (M2) provides step by step instructions. Davetries to follow Richard's instructions but is unable to program the VCR.Dave composes an outgoing message (M3) in the composition window 120telling Richard of his failure. In the meanwhile, Richard has discoveredthat he has given Dave the wrong instructions and sends a follow upmessage (M4) that includes the correct instructions. Dave does not readRichard's follow up message (M4) and sends the outgoing message (M3)back to Richard.

FIG. 1B is an exemplary user interface 100 b provided by an IM client onRichard's device. Dave's reply (M3) is received and the message window110 displays the reply (M3) beneath the Richard's follow up message(M4). Because Dave's reply (M3) does not indicate that it is related toRichard's erroneous instructions (M2), Richard assumes that the reply(M3) is related to the follow up message (M4) including the correctinstructions. Richard then composes an acerbic reply (M5) because hethinks Dave is incompetent, logs off, and prepares to pay a visit toDave.

Clearly, as illustrated in the example above, chronological organizationof the displayed messages 112 can cause confusion during an exchange,which can be a serious problem for customer relations management (CRM).In that environment, a CRM team must be able to determine which messagesare relevant to a customer's response. If the CRM team's reply is offthe mark, the customer will be frustrated with the CRM team's lack ofresponsiveness and can terminate the relationship. In addition,chronological organization of the displayed messages 112 can causeconfusion if the messages are reviewed at a later time, e.g., by anadministrator or investigator who was not a party to the originalcommunication.

SUMMARY

A method for organizing messages received and transmitted between atleast two computer systems over a network and a system configured toimplement the method are described. In one aspect, the method includestracking where a user is gazing as the user is composing an outgoingmessage on a first computer system. During a composition time period inwhich the user is composing the outgoing message, a relevance rating foreach of a plurality of gaze areas is determined. Each gaze area isassociated with one of a plurality of messages displayed by the firstcomputer system, and the relevance rating of a gaze area is based on anumber of times the user's gaze dwells on the displayed messageassociated with the gaze area after the user's gaze is directed awayfrom the displayed message. The method further includes identifying atleast one displayed message that is related to the outgoing messagebased on the relevance ratings of each gaze area, and associating anidentifier for each related message with the outgoing message.

BRIEF DESCRIPTION OF SEVERAL VIEWS OF THE DRAWINGS

The various features of the present invention and the manner ofattaining them will be described in greater detail with reference to thefollowing description, claims and drawings, wherein reference numeralsare reused, where appropriate, to indicate a correspondence between thereferenced items, and wherein:

FIG. 1A and FIG. 1B are exemplary user interfaces provided by an instantmessaging client in an electronic device;

FIG. 2 is a block diagram of an exemplary instant messaging environmentaccording to an exemplary embodiment;

FIG. 3 is a block system diagram of a client device according to anexemplary embodiment;

FIG. 4 is an exemplary user interface provided by the messaging modulein an electronic device according to one embodiment;

FIG. 5 is a flowchart illustrating a process for organizing a messageaccording to one embodiment;

FIG. 6 is a flowchart illustrating a process for determining a relevancerating for a gaze area according to an exemplary embodiment;

FIG. 7 is a flowchart illustrating a process for determining a relevancerating for a gaze area according to another exemplary embodiment;

FIG. 8 is a flowchart illustrating a process for determining a relevancerating for a gaze area according to another exemplary embodiment;

FIG. 9 is a flowchart illustrating a process for determining a relevancerating for a gaze area according to another exemplary embodiment.

FIG. 10 is a flowchart illustrating a process for organizing an incomingmessage according to an exemplary embodiment; and

FIG. 11A and FIG. 11B are exemplary user interfaces provided by themessaging module in an electronic device according to one embodiment.

DETAILED DESCRIPTION

The present invention relates to computer systems and more particularlyto a method and system for organizing electronic messages received andtransmitted between at least two computer systems over a network. Thefollowing description is presented to enable one of ordinary skill inthe art to make and use the invention and is provided in the context ofa patent application and its requirements. Various modifications to thepreferred embodiments and the generic principles and features describedherein will be readily apparent to those skilled in the art. Thus, thepresent invention is not intended to be limited to the embodimentsshown, but is to be accorded the widest scope consistent with theprinciples and features described herein.

FIG. 2 is a block diagram of an exemplary IM environment according toone embodiment. The IM environment 200 includes at least two electronicdevices or client devices 300 a, 300 b, that are configured to allowusers 210 a, 210 b to communicate with one another over a network 220.In one embodiment, the client devices 300 a, 300 b can be any networkenabled device, such as a laptop computer, a personal digital assistant(PDA), a mobile phone, and the like. The network 220 can be a privatenetwork, or a public network, such as the Internet. Each client device300 a, 300 b preferably includes a messaging client, such as an IMclient (not shown), that enables the device 300 a, 300 b to send andreceive messages, e.g., instant messages, via the network 220.

The IM environment 200 also includes a message server 230 that supportselectronic messaging between the users 210 a, 210 b via client devices300 a, 300 b. In one embodiment, the message server 230 can be a typicalemail server. In another embodiment, the message server 230 can be an IMserver 230 that supports instant messaging between users 210 a, 210 b(assuming both users 210 a, 210 b are available, e.g., online). In thatembodiment, the IM server 230 collects and stores data, known aspresence information, associated with users 210 a, 210 b and uses thepresence information in a known manner to authenticate and authorizeusers 210 a, 210 b and client devices 300 a, 300 b so that communicationbetween client devices 300 a, 300 b via the IM server 230 are secure. Ifthe client device 300 a, 300 b is behind a firewall, the IM server 230facilitates access through the firewall.

More information on IM and presence information can be found at thejabber.org/jeps site. For example, document jep-0119.html is ofinterest. In addition, the ietf.org site contains internet relateddocuments related to presence information and IM. Such documents includedraft-ietf-impp-cpim-pidf-08.txt in the internet-drafts section of theietf.org site, as well as rfc2778.txt and rfc2779.txt in the rfc sectionof the ietf.org site.

FIG. 3 is a system block diagram of a client device 300 according to oneembodiment. The client device 300 includes means 310 for transmittingand receiving messages 350, 360 to and from other client devices 300 viathe network 220. For example, such means 310 can include a messagingmodule. In one embodiment where the messages 350, 360 are instantmessages, the messaging module 310 can be a modified IM client.

The client device 300 also includes a means for displaying 320 a userinterface 322 provided by the transmitting and receiving means 310, ameans for allowing the user 210 to enter data 330, and a means fortracking where the user is gazing 340. In one embodiment, the displayingmeans 320 can be a standard display device, such as an LCD screen or thelike. The displayed user interface 322, illustrated in more detail inFIG. 4, includes a conversation window 400 which comprises a pluralityof messages 402 that have been previously received and transmitted. Inaddition, the user interface 322 includes a composition window 410 inwhich a prospective outgoing message 412 is displayed during a messagecomposition time period.

Referring again to FIG. 3, the means for entering data 330 can be akeypad, keyboard, touchpad, or other suitable user input device known inthe art. The data entry means 330 allows the user 210 to compose theoutgoing message 350 and to enter commands, e.g., “send,” that can beinterpreted and executed by the messaging module 310.

In one embodiment, the user gaze tracking means 340 can be aneye-tracking system 340 that tracks where the user 210 is gazing as theuser 210 is composing the prospective outgoing message 412 and conveyseye-tracking data to the messaging module 310. The eye-tracking system340 can use many different known techniques to monitor and track theuser's eye movements. For example, the eye-tracking system 340 canutilize a technique known as corneal reflection, which directs aninfrared light beam at the user's eye and measures the angulardifference between the operator's mobile pupil and the stationary lightbeam reflection. Alternatively, the eye-tracking system 340 can scan theuser's eye region with a scanning apparatus, e.g., television camera,and analyze the resulting image. Eye-tracking systems 340 that can beappropriate for use with the client devices 300 described here includethose systems currently implemented in digital cameras, such as the EOSELAN 7/7e and the EOS 55, both manufactured by Canon Inc., of Tokyo,Japan, or those systems currently implemented in laptop computers, suchas the QUICK GLANCE product developed by EyeTech Digital Systems ofMesa, Ariz.

According to one embodiment, the message transmitting and receivingmeans 310, i.e., the messaging module, automatically determines which ofthe previously received and transmitted messages 402 are likely relatedto the prospective outgoing message 412 based on the user's 210 naturalbehavior, i.e., eye movements, during the composition time period. Inparticular, the messaging module 310 analyzes the user's 210 gazepattern as the user 210 is composing the prospective outgoing message412 to determine relationships between the prospective outgoing message412 and the previously received and transmitted messages 402. Forexample, if the gaze pattern indicates that the user's 210 gaze dwelledon a particular message 402 for a long time, or that the user's 210 gazereturned to the particular message 402 several times, the messagingmodule 310 can reason that the prospective outgoing message 412 has alikelihood of being related to the particular message 402.

Information reflecting the relationship between the final outgoingmessage 350 and one or more previously transmitted and received messages402 can be associated with the final outgoing message 350. In oneembodiment, an identifier 352 for each related message 402 can beappended as metadata to the outgoing message 350. When the outgoingmessage 350 is received by the target user 210 as an incoming message360, the messaging module 310 presents the relationship information suchthat the target user 210 can easily determine to which of the previouslyreceived and transmitted messages 402 the incoming message 360 isrelated. In this manner, the previously transmitted and receivedmessages 402 can be organized in a natural and logical sequence thatminimizes confusion and reflects the natural flow of the conversation.

FIG. 5 is a flowchart illustrating a process for organizing messagesaccording to an embodiment. Referring to FIG. 3, FIG. 4 and FIG. 5, theprocess begins by tracking where the user 210 is gazing as the user 210is composing the prospective outgoing message 412 (block 500). Duringthe composition time period, the user 210 presumably reads or focuses onone or more displayed messages 402 to which the prospective outgoingmessage 412 is related. The eye-tracking system 340 monitors the eyemovement of the user 210 and identifies one or more gaze areas on whichthe user's gaze dwells for a time period exceeding a threshold timeperiod. Each gaze area coincides with and is associated with one of thepreviously transmitted and received messages displayed 402.

According to a preferred embodiment, the messaging module 310 determinesa relevance rating for each gaze area (block 502) during the compositiontime period. The relevance rating for a gaze area indicates a level ofrelevance or importance the message 402 associated with the gaze areahas to the final outgoing message 350. The relevance rating for a gazearea can be based on a number of factors. In one embodiment, therelevance rating is based on a number of times the user's gaze dwells onthe displayed message 402 that is associated with the gaze area afterthe user's gaze is directed away from the displayed message 402.

FIG. 6 is a flowchart illustrating a process for determining therelevance rating of a gaze area based on number of times the user's gazedwells on the displayed message 402 associated with the gaze area afterthe user's gaze is directed away from the displayed message according toone embodiment. At the beginning of the message composition process,e.g., time (T)=zero (0), a visit count for the gaze area is set to zero(0) (block 600). If the eye-tracking system 340 determines that theuser's gaze is dwelling on the displayed message 402 associated with thegaze area (block 601), the visit count is incremented by one (1) (block602). If the eye-tracking system 340 then determines that the user'sgaze moves away from the message (block 605) and if the user 210 isstill composing the prospective outgoing message 412 (block 603), i.e.,T is less than the composition time period, T_(comp), then theeye-tracking system 340 continues to monitor the user's eye movements.Each time thereafter the user's gaze returns to dwell on the displayedmessage 402 (block 601), the visit counter increments by one (1) (block602).

When the user 210 has finished the prospective outgoing message 412,i.e., T>T_(comp), (block 603, 607), the messaging module 310 calculatesa revisit ratio of the gaze area based on the visit count (block 608).In particular, the revisit ratio comprises the number of visits to thegaze area, i.e., the visit count, divided by a total number of visits toall gaze areas. The relevance rating of the gaze area is then calculatedbased on the relevance ratio (block 610).

In another embodiment, the relevance rating of a gaze area can be basedon the revisit ratio and a dwell time and/or dwell time-to-messagelength associated with the gaze area. FIG. 7 is a flowchart illustratinga process for determining the relevance rating based on the dwell timeand/or dwell time-to-message length associated with the gaze areaaccording to one embodiment. At the beginning of the message compositionprocess, e.g., time (T)=zero (0), a dwell timer of the gaze area is setto zero (0) (block 700). If the eye-tracking system 340 determines thatthe user's gaze is dwelling on the displayed message 402 associated withthe gaze area (block 701), the dwell timer starts and begins measuringthe length of time, T_(dwell), the user's gaze dwells on the message 402(block 702). If the eye-tracking system 340 then determines that theuser's gaze moves away from the message 402 (block 705), the dwell timeris stopped (block 706). If the user 210 is still composing theprospective outgoing message 412 (block 703), i.e., T<T_(comp), then theeye-tracking system 340 continues to monitor the user's eye movements.Each time thereafter the user's gaze returns to dwell on the displayedmessage 402 (block 701), the dwell timer starts again and continuesmeasuring the dwell time (block 702).

When the user 210 has finished the prospective outgoing message 412,i.e., T>T_(comp), (block 703, 707), the messaging module 310 calculatesa dwell time ratio of the gaze area based on the aggregated dwell time(block 708). In particular, the dwell time ratio comprises theaggregated dwell time, i.e., the total length of time the user's gazedwelled on the message 402 associated with the gaze area, divided by thecomposition time period. The messaging module 310 also calculates adwell time-to-length ratio based on the aggregated dwell time (block710). In particular, the dwell time-to-length ratio comprises theaggregated dwell time divided by the number of characters in the message402 associated with the gaze area. The relevance rating of the gaze areais then calculated based on the relevance ratio and the dwell time ratioand/or the dwell time-to-length ratio (block 712). In one embodiment,the relevance rating is a weighted sum of the relevance ratio and thedwell time ratio and/or the dwell time-to-length ratio.

In another embodiment, the relevance rating of a gaze area can be basedon a set of graphic facial expressions, referred to as emoticons,present in the message 402 associated with the gaze area. FIG. 8 is aflowchart illustrating a process for determining the relevance ratingbased on emoticons according to one embodiment. The process begins bydetermining a set of emoticons used in the final outgoing message 350(block 800). Emoticons are widely used graphic icons that expressvarious emotions. For example, a smiling face, e.g.,

, is an emoticon that expresses happiness. Several different emoticonsare available and can be used as shorthand for exclamations andemotional expressions.

Once the set of emoticons in the final outgoing message 350 has beendetermined, the messaging module 310 compares the set of emoticons inthe outgoing message 350 with a set of emoticons in the message 402associated with the gaze area (block 802). The messaging module 310 thendetermines an intersection size based on the number of common emoticonsin the outgoing message 350 and in the message 402 associated with thegaze area (block 804), and calculates a similarity ratio based on theintersection size (block 806). In particular, the similarity ratiocomprises the intersection size divided by the intersection sizes of allgaze areas. The relevance rating of the gaze area is then calculatedbased on the relevance ratio and the similarity ratio (block 808). Inone embodiment, the relevance rating is a weighted sum of the relevanceratio and the similarity ratio.

In another embodiment, illustrated in FIG. 9, the relevance rating for agaze area can be determined based on an amount of time the user's gazedwells on an item, e.g., a word, an emoticon, or a phrase, in a message402 associated with the gaze area, where the item is a common item alsofound in the final outgoing message 350. In this embodiment, themessaging module 310 determines the amount of time the user's gazedwells on each common item in the message 402 (block 900) and aggregatesthe dwell time for each common item in the message (block 902). Themessaging module 310 then calculates an item-gaze ratio for the gazearea based on the aggregated dwell time for the items in the message 402(block 904). In particular, the item-gaze ratio comprises the aggregateddwell time for the gaze area divided by a sum of all aggregated dwelltimes for all gaze areas. The relevance rating of the gaze area is thencalculated based on the relevance ratio and the item-gaze ratio (block906). In one embodiment, the relevance rating is a weighted sum of therelevance ratio and the item-gaze ratio.

In another embodiment, the item-gaze ratio can be calculated utilizingnatural language processing theory. In this embodiment, each item in amessage 402 is assigned a term weight, TW_(i), based on the ratio of theamount of time the user's gaze dwells on the item, t_(i), divided by thetotal amount of time the user's gaze dwells on the message 402, t_(m).That is, TW_(i)=(t_(i)/t_(m)). In addition, each item in the message isassigned a collection weight (CW) defined as:CW_(i)=Log₂(N/n _(i))where N is the total number of messages considered and n_(i) is thenumber of messages 402 in which the item “i” occurs. The messagingmodule 310 then calculates an item weight, IW_(i), for each item in eachmessage. The item weight is defined as: $\begin{matrix}{{IW}_{i} = {\left( {CW}_{i} \right)\left( {TW}_{i} \right)}} \\{= {{{Log}_{2}\left( {N/n_{i}} \right)} \times {\left( {t_{i}/t_{m}} \right).}}}\end{matrix}$

For each message 402 considered, a vector is specified whose dimensionsare the items occurring in a message and whose elements are the itemweights for each item in the message. The messaging module 310 thenweights each message based on the inner product of the message's vectorand a vector for the outgoing message. The inner product of two vectorsis the sum of each vector's element-wise product. That is, the innerproduct of two vectors, V1 and V2, each having two elements is the sumof the product of the first elements of V1 and V2, and the product ofthe second elements of V1 and V2. In this embodiment, the number ofelements is the number of items under consideration.

In each embodiment described above, the relevance rating of a gaze areais based on the revisit ratio and the weighted sum of the revisit ratioand either the dwell time ratio, the dwell time-to-length ratio, thesimilarity ratio, the item-gaze ratio, or combinations thereof. In oneembodiment, each ratio can be equally weighted. In another embodiment,one of more of the ratios can be more heavily weighted depending on thenature of the messages or other circumstances.

Referring again to FIG. 4 and FIG. 5, once the relevance ratings for thegaze areas have been determined (block 502), the messaging module 310identifies at least one of the previously transmitted and receivedmessages 402 to which the final outgoing message 350 is related based onthe relevance ratings of the gaze areas (block 504). In one embodiment,each displayed message 402 is associated with an identifier 352. Themessaging module 310 associates the identifier 352 corresponding to eachof the related messages 402 with the final outgoing message 350 (block506).

In one embodiment, the identifiers 352 can be associated as metadata ofthe final outgoing message 350. Each identifier 352 can be paired withits relevance rating and both the identifiers 352 and the respectiverelevance ratings can be associated with the final outgoing message 350as metadata. For example, the metadata associated with the finaloutgoing message 350 can comprise an identifier for the user 210 and aranked list of message identifiers, with or without their respectiverelevance ratings, for messages 402 related to the final outgoingmessage 350. The identifiers 352 can be included in a dedicated headerfield for the final outgoing message 350. Once the identifiers 352, andoptionally other relevance information, are associated with the finaloutgoing message 350, the messaging module 310 transmits the finaloutgoing message 350 to the intended target user (block 508).

When the client device 300 receives an incoming message 360 thatincludes identifiers 362 from another client device (FIG. 3), themessaging module 310 is configured to organize the incoming message 360based on the identifiers 362. FIG. 10 is a flowchart illustrating aprocess for organizing an incoming message according to one embodiment.The process begins when the messaging module 310 receives the incomingmessage 360 that includes one or more identifiers 362 associated withmessages 402 related to the incoming message 360 (block 1000). Themessaging module 310 then identifies which, if any, of the previouslytransmitted and received messages displayed 402 are related to theincoming message 360 based on the identifiers 362 (block 1002).

The identified related messages are then presented on the user interface322 (block 1004) such that the user 210 is able to determine easilywhich of the displayed messages 402 is related to the incoming message360. In one embodiment when the identifiers 362 are paired with theirrespective relevance ratings, the relevance rating for each relatedmessage is also presented on the user interface 322 to indicate to theuser 210 which of the related messages is most and least relevant.

FIG. 11A and FIG. 11B provide an example of the operation of the presentinvention according to one embodiment. FIG. 11A illustrates an exemplaryuser interface 322 provided by the messaging module 310 during messagecomposition. As is shown, the user 210 composing the prospectiveoutgoing message 412 (Dave) gazes at a gaze area designated as “A” whenthe user 210 begins composing the outgoing message 412. During thecomposition time period, the eye-tracking system 340 records Dave's eyemovement from gaze area “A” to gaze area “B” to gaze area “C” to gazearea “D” and then to the “send” button. Based on this gaze pattern, themessaging module 310 determines that displayed message two (M2) isrelated to the final outgoing message 350 and therefore the identifier352 for message two (M2) is associated with the final outgoing message350.

FIG. 11B illustrates an exemplary user interface 322 on the displaydevice 320 of the target client device 300 that receives Dave's outgoingmessage 350 as an incoming message 360. Here, the messaging module 310uses the identifier 362 to determine that message two (M2) of thedisplayed messages 402 is related to the incoming message 360 from Dave,and then inserts the incoming message 360 directly beneath the relatedmessage (M2). At this point, Richard realizes that Dave has not yet readhis most recent message (M4), and instead of sending an acerbicresponse, merely reminds Dave to try the new instructions contained inmessage four (M4).

The techniques described above monitor and record a user's natural eyemovements as the user is composing an outgoing message, and utilize thisinformation to infer which messages are related to the outgoing message.In one embodiment, the number of times the user's gaze returns to aparticular message during a composition time period is recorded and usedto infer the particular message's relevance. In another embodiment, theamount of time the user gazes at a particular message or at a particularitem in a message is used to infer relevance. In another embodiment, thenumber of common emoticons in both messages is used to infer relevance.When the outgoing message is ready to be sent, identifiers of therelated messages are associated with the outgoing message. The receivingclient device uses the identifiers to organize automatically theincoming message in relation to its related messages so that thereceiving entity can easily determine to which messages the incomingmessage is related.

By organizing messages in this manner, as opposed to chronologically,the sequence of messages is more accurate and the electronicconversation is easier to follow. Thus, the parties to the communicationcan communicate more clearly and compose more relevant replies, and ifthe messages are reviewed at a later time by a nonparty to thecommunication, the reviewer can follow the conversation more easily.

The present invention has been described in accordance with theembodiments shown, and one of ordinary skill in the art will readilyrecognize that there could be variations to the embodiments, and anyvariations would be within the spirit and scope of the presentinvention. Software written according to the present invention is to bestored in some form of computer-readable medium, such as memory, CD-ROMor transmitted over a network, and executed by a processor.Consequently, a computer-readable medium is intended to include acomputer readable signal which, for example, may be transmitted over anetwork. Accordingly, many modifications may be made by one of ordinaryskill in the art without departing from the spirit and scope of theappended claims.

1. A method for organizing messages received and transmitted between atleast two computer systems over a network, the method comprising:tracking where a user of a first computer system is gazing as the useris composing an outgoing message; determining during a composition timeperiod in which the user is composing the outgoing message a relevancerating for each of a plurality of gaze areas, wherein each gaze area isassociated with one of a plurality of messages displayed by the firstcomputer system, and wherein the relevance rating of a gaze area isbased on a number of times the user's gaze dwells on the displayedmessage associated with the gaze area after the user's gaze is directedaway from the displayed message; identifying, based on the relevancerating of each of the plurality of gaze areas, at least one displayedmessage that is related to the outgoing message; and associating withthe outgoing message an identifier for each displayed message that isrelated to the outgoing message.
 2. The method according to claim 1wherein determining the relevance rating of a gaze area includes:counting a number of times the user visits the gaze area by directingthe user's gaze to the gaze area; and calculating a revisit ratio of thegaze area, the revisit ratio comprising the number of visits to the gazearea divided by a total number of visits to all gaze areas.
 3. Themethod according to claim 2 wherein the relevance rating for a gaze areais further based on a dwell time associated with the gaze area, andwherein determining the relevance rating for the gaze area furtherincludes: calculating a dwell time ratio of the gaze area, the dwelltime ratio comprising an aggregate of an amount of time the user's gazedwells on the gaze area divided by the composition time period; andcalculating a weighted sum of the revisit ratio and the dwell timeratio.
 4. The method of claim 2 wherein the relevance rating for a gazearea is further based on a dwell time associated with the gaze area, andwherein determining the relevance rating for the gaze area furtherincludes: calculating a dwell time-to-length ratio of the gaze area, thedwell time-to-length ratio comprising an aggregate of an amount of timethe user's gaze dwells on the gaze area divided by a total number ofcharacters in the displayed message associated with the gaze area; andcalculating a weighted sum of the revisit ratio and the dwelltime-to-length ratio.
 5. The method of claim 2 wherein the relevancerating for a gaze area is further based on a set of emoticons present inthe displayed message associated with the gaze area.
 6. The method ofclaim 5 wherein determining the relevance rating for the gaze areafurther includes: determining in the outgoing message a set of emoticonsused; comparing the set of emoticons in the outgoing message with theset of emoticons in the message associated with the gaze area; based onthe comparison, determining an intersection size of the messageassociated with the gaze area, wherein the intersection size is based ona number of common emoticons in the outgoing message and in the messageassociated with the gaze area; calculating a similarity ratio of thegaze area, the similarity ratio comprising the intersection size of thegaze area divided by an aggregate of intersection sizes of all gazeareas; and calculating a weighted sum of the revisit ratio and thesimilarity ratio.
 7. The method of claim 2 wherein the relevance ratingfor a gaze area is further based on an amount of time the user's gazedwells on at least one item included in the displayed message associatedwith the gaze area and included in the outgoing message, wherein the atleast one item comprises either a word, an emoticon, or a phrase.
 8. Themethod of claim 7 wherein determining the relevance rating for the gazearea further includes: determining an amount of time the user's gazedwells on each of the at least one items in the displayed messageassociated with the gaze area; aggregating the amount of time for eachof the at least one items; calculating an item-gaze ratio of the gazearea, the item-gaze ratio comprising the aggregated item time of thegaze area divided by a sum of aggregated item times of all gaze areas;and calculating a weighted sum of the revisit ratio and the item-gazeratio.
 9. The method of claim 1 wherein associating with the outgoingmessage an identifier for each displayed message related to the outgoingmessage includes associating information related to the relevance ratingof each related displayed message as metadata of the outgoing message.10. The method of claim 1 further comprising transmitting the outgoingmessage with each associated identifier to a second computer system. 11.The method of claim 1 further comprising: receiving by the firstcomputer system an incoming message from a second computer system,wherein the incoming message includes one or more identifiers of one ormore messages; identifying which, if any, of the displayed messages arerelated to the incoming message based on the one or more identifiers;and presenting the identified related messages on a user interface ofthe first computer system.
 12. The method of claim 11 wherein each ofthe one or more identifiers included in the incoming message is pairedwith a relevance rating and wherein presenting the identified relatedmessages further includes presenting the respective relevance rating ofeach identified related message on the user interface of the firstcomputer system.
 13. A system comprising: a messaging module fortransmitting and receiving messages to and from other computer systemsof a network; a display device coupled to the messaging module fordisplaying a plurality of messages that have been previously receivedand transmitted and for displaying an outgoing message; a user inputdevice coupled to the messaging module for allowing the user to composethe outgoing message; and an eye-tracking system coupled to themessaging module and to the display device for tracking where the useris gazing as the user composes the outgoing message, wherein themessaging module determines, during a composition time period in whichthe user is composing the outgoing message, a relevance rating for eachof a plurality of gaze areas, wherein each gaze area is associated withone of the plurality of displayed messages, and wherein the relevancerating of a gaze area is based on a number of times the user's gazedwells on the displayed message associated with the gaze area after theuser's gaze is directed away from the displayed message, identifies,based on the relevance rating of each of the plurality of gaze areas, atleast one displayed message that is related to the outgoing message, andassociates with the outgoing message an identifier for each identifiedrelated displayed message.
 14. The system of claim 13 wherein themessaging module is configured to count a number of times the uservisits the gaze area by directing the user's gaze to the gaze area andcalculate a revisit ratio of the gaze area, the revisit ratio comprisingthe number of visits to the gaze area divided by a total number ofvisits to all gaze areas.
 15. The system of claim 14 wherein therelevance rating for a gaze area is further based on a dwell timeassociated with the gaze area, and wherein the messaging module isfurther configured to calculate a dwell time ratio of the gaze area, thedwell time ratio comprising an aggregate of an amount of time the user'sgaze dwells on the gaze area divided by the composition time period andto calculate a weighted sum of the revisit ratio and the dwell timeratio.
 16. The system of claim 14 wherein the relevance rating for agaze area is further based on a dwell time associated with the gazearea, and wherein the messaging module is further configured tocalculate a dwell time-to-length ratio of the gaze area, the dwelltime-to-length ratio comprising an aggregate of an amount of time theuser's gaze dwells on the gaze area divided by a total number ofcharacters in the displayed message associated with the gaze area and tocalculate a weighted sum of the revisit ratio and the dwelltime-to-length ratio.
 17. The system of claim 14 wherein the relevancerating for a gaze area is further based on a set of emoticons present inthe displayed message associated with the gaze area.
 18. The system ofclaim 17 wherein the messaging module is further configured to determinein the outgoing message a set of emoticons used, to compare the set ofemoticons in the outgoing message with the set of emoticons in themessage associated with the gaze area, to determine, based on thecomparison, an intersection size of the message associated with the gazearea, wherein the intersection size is based on a number of commonemoticons in the outgoing message and in the message associated with thegaze area, to calculate a similarity ratio of the gaze area, thesimilarity ratio comprising the intersection size of the gaze areadivided by an aggregate of intersection sizes of all gaze areas, and tocalculate a weighted sum of the revisit ratio and the similarity ratio.19. The system of claim 14 wherein the relevance rating for a gaze areais further based on an amount of time the user's gaze dwells on at leastone item included in the displayed message associated with the gaze areaand included in the outgoing message, wherein the at least one itemcomprises either a word, an emoticon, or a phrase.
 20. The system ofclaim 19 wherein the messaging module is further configured to determinean amount of time the user's gaze dwells on each of the at least oneitems in the displayed message associated with the gaze area, toaggregate the amount of time for each of the at least one items, tocalculate an item-gaze ratio of the gaze area, the item-gaze ratiocomprising the aggregated item time of the gaze area divided by a sum ofaggregated item times of all gaze areas, and to calculate a weighted sumof the revisit ratio and the item-gaze ratio.
 21. The system of claim 13wherein the messaging module is configured to associate the identifierand information related to the relevance rating of each identifiedrelated displayed message as metadata of the outgoing message.
 22. Thesystem of claim 13 wherein the messaging module is configured totransmit the outgoing message with each associated identifier to asecond computer system.
 23. The system of claim 13 wherein the messagingmodule is configured to receive an incoming message from a secondcomputer system, wherein the incoming message includes one or moreidentifiers of one or more messages, to identify which, if any, of thedisplayed messages are related to the incoming message based on the oneor more identifiers, and to present the identified related messages onthe display device of the first computer system.
 24. The system of claim23 wherein each of the one or more identifiers included in the incomingmessage is paired with a relevance rating and wherein the messagingmodule is configured to present the respective relevancy rating of eachidentified related message along with the identified related messages onthe display device.
 25. A computer readable medium containing a computerprogram for organizing messages received and transmitted between atleast two computer systems over a network, the computer programcomprising executable instructions for: tracking where a user of a firstcomputer system is gazing as the user is composing an outgoing message;determining during a composition time period in which the user iscomposing the outgoing message a relevance rating for each of aplurality of gaze areas, wherein each gaze area is associated with oneof a plurality of messages displayed by the first computer system, andwherein the relevance rating of a gaze area is based on a number oftimes the user's gaze dwells on the displayed message associated withthe gaze area after the user's gaze is directed away from the displayedmessage; identifying, based on the relevance rating of each of theplurality of gaze areas, at least one displayed message that is relatedto the outgoing message; and associating with the outgoing message anidentifier for each identified displayed message that is related to theoutgoing message.
 26. The computer readable medium according to claim 25wherein the executable instructions for determining the relevance ratingof a gaze area includes executable instructions for counting a number oftimes the user visits the gaze area by directing the user's gaze to thegaze area, and calculating a revisit ratio of the gaze area, the revisitratio comprising the number of visits to the gaze area divided by atotal number of visits to all gaze areas.
 27. The computer readablemedium according to claim 26 wherein the relevance rating for a gazearea is further based on a dwell time associated with the gaze area, andwherein the executable instructions for determining the relevance ratingfor the gaze area further include instructions for: calculating a dwelltime ratio of the gaze area, the dwell time ratio comprising anaggregate of an amount of time the user's gaze dwells on the gaze areadivided by the composition time period; and calculating a weighted sumof the revisit ratio and the dwell time ratio.
 28. The computer readablemedium of claim 26 wherein the relevance rating for a gaze area isfurther based on a dwell time associated with the gaze area, and whereinthe executable instructions for determining the relevance rating for thegaze area further include instructions for: calculating a dwelltime-to-length ratio of the gaze area, the dwell time-to-length ratiocomprising an aggregate of an amount of time the user's gaze dwells onthe gaze area divided by a total number of characters in the displayedmessage associated with the gaze area; and calculating a weighted sum ofthe revisit ratio and the dwell time-to-length ratio.
 29. The computerreadable medium of claim 26 wherein the relevance rating for a gaze areais further based on a set of emoticons present in the displayed messageassociated with the gaze area, and wherein the executable instructionsfor determining the relevance rating for the gaze area further includeinstructions for: determining in the outgoing message a set of emoticonsused; comparing the set of emoticons in the outgoing message with theset of emoticons in the message associated with the gaze area; based onthe comparison, determining an intersection size of the messageassociated with the gaze area, wherein the intersection size is based ona number of common emoticons in the outgoing message and in the messageassociated with the gaze area; calculating a similarity ratio of thegaze area, the similarity ratio comprising the intersection size of thegaze area divided by an aggregate of intersection sizes of all gazeareas; and calculating a weighted sum of the revisit ratio and thesimilarity ratio.
 30. The computer readable medium of claim 26 whereinthe relevance rating for a gaze area is further based on an amount oftime the user's gaze dwells on at least one item included in thedisplayed message associated with the gaze area and included in theoutgoing message, wherein the at least one item comprises either a word,an emoticon, or a phrase, and wherein the executable instructions fordetermining the relevance rating for the gaze area further includeinstructions for: determining an amount of time the user's gaze dwellson each of the at least one items in the displayed message associatedwith the gaze area; aggregating the amount of time for each of the atleast one items; calculating an item-gaze ratio of the gaze area, theitem-gaze ratio comprising the aggregated item time of the gaze areadivided by a sum of aggregated item times of all gaze areas; andcalculating a weighted sum of the revisit ratio and the item-gaze ratio.31. The computer readable medium of claim 25 wherein the executableinstructions for associating with the outgoing message the identifierfor each identified displayed message includes instructions forassociating information related to the relevance rating of eachidentified displayed message as metadata of the outgoing message. 32.The computer readable medium of claim 25 further comprising executableinstructions for transmitting the outgoing message with each associatedidentifier to a second computer system.
 33. The computer readable mediumof claim 25 further comprising executable instructions for: receiving bythe first computer system an incoming message from a second computersystem, wherein the incoming message includes one or more identifiers ofone or more messages; identifying which, if any, of the displayedmessages are related to the incoming message based on the one or moreidentifiers; and presenting the identified related messages on a userinterface of the first computer system.
 34. The computer readable mediumof claim 33 wherein each of the one or more identifiers included in theincoming message is paired with a relevance rating and wherein theexecutable instructions for presenting the identified related messagesfurther includes instructions for presenting the respective relevancerating of each identified related message on the user interface of thefirst computer system.
 35. A system comprising: means for transmittingand receiving messages to and from other computer systems of a network;means for displaying a plurality of messages that have been previouslyreceived and transmitted and for displaying an outgoing message; meansfor allowing the user to compose the outgoing message; and means fortracking where the user is gazing as the user composes the outgoingmessage, wherein the means for transmitting and receiving messagesfurther determines, during a composition time period in which the useris composing the outgoing message, a relevance rating for each of aplurality of gaze areas, wherein each gaze area is associated with oneof the plurality of displayed messages, and wherein the relevance ratingof a gaze area is based on a number of times the user's gaze dwells onthe displayed message associated with the gaze area after the user'sgaze is directed away from the displayed message, identifies, based onthe relevance rating of each of the plurality of gaze areas, at leastone displayed message that is related to the outgoing message, andassociates with the outgoing message an identifier for each identifieddisplayed message that is related to the outgoing message.